PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Closeup / like a flaming pig.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=4 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=2.107 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=-0.220 |
| 29 | fModWaveAlphaStart=0.810 |
| 30 | fModWaveAlphaEnd=1.400 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.600 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.010 |
| 50 | ob_r=1.000 |
| 51 | ob_g=1.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=256 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.80000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.240 |
| 88 | wave_0_per_point1=sw = (1-sw)*above(sample,0); |
| 89 | wave_0_per_point2= |
| 90 | wave_0_per_point3=osa = sample*above(sample,0); |
| 91 | wave_0_per_point4= |
| 92 | wave_0_per_point5=mod = pow(value1*2,2)*sign(value1)*.5; |
| 93 | wave_0_per_point6= |
| 94 | wave_0_per_point7=mod = value1; |
| 95 | wave_0_per_point8=mod = mod*sw; |
| 96 | wave_0_per_point9= |
| 97 | wave_0_per_point10=y = if(sw,osa,sample*.5+.25); |
| 98 | wave_0_per_point11=y = sample*.5+.25; |
| 99 | wave_0_per_point12=y = (y-0.5)/(q19) + 0.5; |
| 100 | wave_0_per_point13=x = 1 - mod*.5; |
| 101 | wave_0_per_point14= |
| 102 | wave_0_per_point15=osa = sample; |
| 103 | wave_0_per_point16= |
| 104 | wave_0_per_point17=mo = 3.7 + mod*6 + q1; |
| 105 | wave_0_per_point18= |
| 106 | wave_0_per_point19=r = .5 + sin(q23*.9 +mo)*.5; |
| 107 | wave_0_per_point20=g = .5 + sin(q23*.89+mo + 1.5472)*.5; |
| 108 | wave_0_per_point21=b = .5 + sin(q23*.88+mo + 2.8944)*.5; |
| 109 | wave_0_per_point22= |
| 110 | wave_0_per_point23=//a = 3 - abs(mod)*12; |
| 111 | wave_0_per_point24=//a = 3-sw; |
| 112 | wave_0_per_point25=//a = max(0,min(a,1)); |
| 113 | wavecode_1_enabled=1 |
| 114 | wavecode_1_samples=512 |
| 115 | wavecode_1_sep=256 |
| 116 | wavecode_1_bSpectrum=1 |
| 117 | wavecode_1_bUseDots=0 |
| 118 | wavecode_1_bDrawThick=0 |
| 119 | wavecode_1_bAdditive=0 |
| 120 | wavecode_1_scaling=1.00000 |
| 121 | wavecode_1_smoothing=0.80000 |
| 122 | wavecode_1_r=1.000 |
| 123 | wavecode_1_g=1.000 |
| 124 | wavecode_1_b=1.000 |
| 125 | wavecode_1_a=0.240 |
| 126 | wave_1_per_point1=sw = (1-sw)*below(sample,1); |
| 127 | wave_1_per_point2= |
| 128 | wave_1_per_point3=osa = sample*above(sample,0); |
| 129 | wave_1_per_point4= |
| 130 | wave_1_per_point5=mod = pow(value2*2,2)*sign(value2)*.5; |
| 131 | wave_1_per_point6= |
| 132 | wave_1_per_point7=mod = value2; |
| 133 | wave_1_per_point8=mod = mod*sw; |
| 134 | wave_1_per_point9= |
| 135 | wave_1_per_point10=y = if(sw,osa,sample*.5+.25); |
| 136 | wave_1_per_point11=y = sample*.5+.25; |
| 137 | wave_1_per_point12=y = (y-0.5)/(q19) + 0.5; |
| 138 | wave_1_per_point13=x = 0+ mod*.5; |
| 139 | wave_1_per_point14= |
| 140 | wave_1_per_point15=osa = sample; |
| 141 | wave_1_per_point16= |
| 142 | wave_1_per_point17=mo = 3.7 + mod*6 + q1; |
| 143 | wave_1_per_point18= |
| 144 | wave_1_per_point19=r = .5 + sin(q23*.95+mo)*.5; |
| 145 | wave_1_per_point20=g = .5 + sin(q23*.96+mo + 1.5472)*.5; |
| 146 | wave_1_per_point21=b = .5 + sin(q23*.97+mo + 2.8944)*.5; |
| 147 | wave_1_per_point22= |
| 148 | wave_1_per_point23=//a = 3 - abs(mod)*12; |
| 149 | wave_1_per_point24=//a = 3-sw; |
| 150 | wave_1_per_point25=//a = max(0,min(a,1)); |
| 151 | wavecode_2_enabled=0 |
| 152 | wavecode_2_samples=512 |
| 153 | wavecode_2_sep=0 |
| 154 | wavecode_2_bSpectrum=0 |
| 155 | wavecode_2_bUseDots=0 |
| 156 | wavecode_2_bDrawThick=1 |
| 157 | wavecode_2_bAdditive=0 |
| 158 | wavecode_2_scaling=0.89152 |
| 159 | wavecode_2_smoothing=0.82000 |
| 160 | wavecode_2_r=1.000 |
| 161 | wavecode_2_g=1.000 |
| 162 | wavecode_2_b=1.000 |
| 163 | wavecode_2_a=0.100 |
| 164 | wavecode_3_enabled=0 |
| 165 | wavecode_3_samples=512 |
| 166 | wavecode_3_sep=0 |
| 167 | wavecode_3_bSpectrum=1 |
| 168 | wavecode_3_bUseDots=1 |
| 169 | wavecode_3_bDrawThick=0 |
| 170 | wavecode_3_bAdditive=0 |
| 171 | wavecode_3_scaling=1.00000 |
| 172 | wavecode_3_smoothing=0.50000 |
| 173 | wavecode_3_r=1.000 |
| 174 | wavecode_3_g=1.000 |
| 175 | wavecode_3_b=1.000 |
| 176 | wavecode_3_a=1.000 |
| 177 | shapecode_0_enabled=1 |
| 178 | shapecode_0_sides=16 |
| 179 | shapecode_0_additive=0 |
| 180 | shapecode_0_thickOutline=0 |
| 181 | shapecode_0_textured=1 |
| 182 | shapecode_0_num_inst=5 |
| 183 | shapecode_0_x=0.730 |
| 184 | shapecode_0_y=0.500 |
| 185 | shapecode_0_rad=0.29466 |
| 186 | shapecode_0_ang=0.00000 |
| 187 | shapecode_0_tex_ang=0.00000 |
| 188 | shapecode_0_tex_zoom=2.79176 |
| 189 | shapecode_0_r=0.700 |
| 190 | shapecode_0_g=0.700 |
| 191 | shapecode_0_b=1.000 |
| 192 | shapecode_0_a=1.000 |
| 193 | shapecode_0_r2=0.000 |
| 194 | shapecode_0_g2=0.000 |
| 195 | shapecode_0_b2=0.000 |
| 196 | shapecode_0_a2=0.000 |
| 197 | shapecode_0_border_r=1.000 |
| 198 | shapecode_0_border_g=1.000 |
| 199 | shapecode_0_border_b=0.000 |
| 200 | shapecode_0_border_a=0.000 |
| 201 | shape_0_per_frame1=trig = q25; |
| 202 | shape_0_per_frame2=a = trig*min(bass+treb,1); a2 = trig*0; |
| 203 | shape_0_per_frame3=//a = min(bass+treb-1,1); |
| 204 | shape_0_per_frame4=x0 = x0 *bnot(trig) + trig*int(rand(100))/100; |
| 205 | shape_0_per_frame5=y0 = y0 *bnot(trig) + trig*int(rand(100))/100; |
| 206 | shape_0_per_frame6= |
| 207 | shape_0_per_frame7= |
| 208 | shape_0_per_frame8=k1 = instance/num_inst*6.28; |
| 209 | shape_0_per_frame9=ampl = .1*q22+.1; |
| 210 | shape_0_per_frame10= |
| 211 | shape_0_per_frame11= |
| 212 | shape_0_per_frame12=x0 = .5 +q15*ampl *cos(k1+q17); y0 = .5+ q16*ampl*sin(k1+q17); |
| 213 | shape_0_per_frame13= |
| 214 | shape_0_per_frame14= |
| 215 | shape_0_per_frame15=tex_ang = int(rand(20))/3; |
| 216 | shape_0_per_frame16=//tex_ang = time; |
| 217 | shape_0_per_frame17=rad = .1 + int(rand(8))/12; |
| 218 | shape_0_per_frame18= |
| 219 | shape_0_per_frame19=x = x0; y = y0; |
| 220 | shape_0_per_frame20=r = .7+.3*sin(time/12); |
| 221 | shape_0_per_frame21=b = .7+.3*sin(time/15); |
| 222 | shape_0_per_frame22=g = .7+.3*sin(time/8); |
| 223 | shape_0_per_frame23=r2 = r; b2 = b; g2 = g; |
| 224 | shapecode_1_enabled=1 |
| 225 | shapecode_1_sides=32 |
| 226 | shapecode_1_additive=0 |
| 227 | shapecode_1_thickOutline=0 |
| 228 | shapecode_1_textured=0 |
| 229 | shapecode_1_num_inst=37 |
| 230 | shapecode_1_x=0.500 |
| 231 | shapecode_1_y=0.500 |
| 232 | shapecode_1_rad=0.03640 |
| 233 | shapecode_1_ang=0.81681 |
| 234 | shapecode_1_tex_ang=0.37699 |
| 235 | shapecode_1_tex_zoom=1.02841 |
| 236 | shapecode_1_r=1.000 |
| 237 | shapecode_1_g=1.000 |
| 238 | shapecode_1_b=1.000 |
| 239 | shapecode_1_a=0.050 |
| 240 | shapecode_1_r2=1.000 |
| 241 | shapecode_1_g2=1.000 |
| 242 | shapecode_1_b2=1.000 |
| 243 | shapecode_1_a2=0.000 |
| 244 | shapecode_1_border_r=1.000 |
| 245 | shapecode_1_border_g=1.000 |
| 246 | shapecode_1_border_b=1.000 |
| 247 | shapecode_1_border_a=0.000 |
| 248 | shape_1_per_frame1=k1 = instance/num_inst*6.28; |
| 249 | shape_1_per_frame2=tmp = q17/32+time*.1; |
| 250 | shape_1_per_frame3=trel = tmp-int(tmp); |
| 251 | shape_1_per_frame4= |
| 252 | shape_1_per_frame5=yes = above(sin(time/9.5),0); |
| 253 | shape_1_per_frame6= |
| 254 | shape_1_per_frame7=bright = 6*q2*q2*yes+.1*min(q8,1); |
| 255 | shape_1_per_frame8=border_a = bright; |
| 256 | shape_1_per_frame9= |
| 257 | shape_1_per_frame10=tmp = 2*sin(time/12)-1; |
| 258 | shape_1_per_frame11=a = .5*yes*pow(2,-18*abs(k1-6.28*trel)) * above(tmp,0)*tmp*tmp; |
| 259 | shape_1_per_frame12=ampl = .1; |
| 260 | shape_1_per_frame13=rad = .02+.0*sin(k1*4+time); |
| 261 | shape_1_per_frame14=x = .5 +q15*ampl *cos(k1+q17); y = .5+ q16*ampl*sin(k1+q17); |
| 262 | shape_1_per_frame15= |
| 263 | shape_1_per_frame16=r0 = sin(time/7); |
| 264 | shape_1_per_frame17=g0 = sin(time/5); |
| 265 | shape_1_per_frame18=b0 = sin(time/9); |
| 266 | shape_1_per_frame19= |
| 267 | shape_1_per_frame20=border_r = .8 + .2*r0; |
| 268 | shape_1_per_frame21=border_g = .8 + .2*g0; |
| 269 | shape_1_per_frame22=border_b = .8 + .2*b0; |
| 270 | shape_1_per_frame23= |
| 271 | shape_1_per_frame24= |
| 272 | shape_1_per_frame25=//r = .5*r0; g = .5*g0; b = 0.5*b0; ; |
| 273 | shape_1_per_frame26= |
| 274 | shape_1_per_frame27=//r2 = 0; g2 = 0; b2 = 0; |
| 275 | shape_1_per_frame28= |
| 276 | shape_1_per_frame29=a2 = 0; |
| 277 | shape_1_per_frame30= |
| 278 | shapecode_2_enabled=1 |
| 279 | shapecode_2_sides=32 |
| 280 | shapecode_2_additive=1 |
| 281 | shapecode_2_thickOutline=1 |
| 282 | shapecode_2_textured=0 |
| 283 | shapecode_2_num_inst=33 |
| 284 | shapecode_2_x=0.500 |
| 285 | shapecode_2_y=0.500 |
| 286 | shapecode_2_rad=0.10000 |
| 287 | shapecode_2_ang=0.00000 |
| 288 | shapecode_2_tex_ang=0.00000 |
| 289 | shapecode_2_tex_zoom=1.00000 |
| 290 | shapecode_2_r=0.000 |
| 291 | shapecode_2_g=0.500 |
| 292 | shapecode_2_b=0.000 |
| 293 | shapecode_2_a=1.000 |
| 294 | shapecode_2_r2=0.000 |
| 295 | shapecode_2_g2=0.500 |
| 296 | shapecode_2_b2=0.000 |
| 297 | shapecode_2_a2=0.000 |
| 298 | shapecode_2_border_r=1.000 |
| 299 | shapecode_2_border_g=1.000 |
| 300 | shapecode_2_border_b=1.000 |
| 301 | shapecode_2_border_a=0.000 |
| 302 | shape_2_per_frame1=trans = int(rand(int(q1)))/5+instance-instance; |
| 303 | shape_2_per_frame2=trans2 = int(rand(int(q1)))/5+instance-instance; |
| 304 | shape_2_per_frame3=trans3 = int(rand(int(q1)))/5+instance-instance; |
| 305 | shape_2_per_frame4=a = trans; |
| 306 | shape_2_per_frame5= |
| 307 | shape_2_per_frame6=x = (sin(q23)+1.57)*.3 + int(rand(15))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 308 | shape_2_per_frame7=y = (cos(q23)+1.57)*.3 + int(rand(15))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 309 | shape_2_per_frame8=rad = .09 + int(rand(int(q1)))/15+instance-instance; |
| 310 | shape_2_per_frame9=r=int(rand(q1))*.1+instance-instance; |
| 311 | shape_2_per_frame10=g=int(rand(q1))*.1+instance-instance; |
| 312 | shape_2_per_frame11=b=int(rand(q1))*.1+instance-instance; |
| 313 | shape_2_per_frame12=r2=int(rand(q1))*.1+instance-instance; |
| 314 | shape_2_per_frame13=g2=int(rand(q1))*.1+instance-instance; |
| 315 | shape_2_per_frame14=b2=int(rand(q1))*.1+instance-instance; |
| 316 | shape_2_per_frame15=border_r=int(rand(q1))*.1+instance-instance; |
| 317 | shape_2_per_frame16=border_g=int(rand(q1))*.1+instance-instance; |
| 318 | shape_2_per_frame17=border_b=int(rand(q1))*.1+instance-instance; |
| 319 | shapecode_3_enabled=1 |
| 320 | shapecode_3_sides=32 |
| 321 | shapecode_3_additive=0 |
| 322 | shapecode_3_thickOutline=1 |
| 323 | shapecode_3_textured=1 |
| 324 | shapecode_3_num_inst=7 |
| 325 | shapecode_3_x=0.500 |
| 326 | shapecode_3_y=0.500 |
| 327 | shapecode_3_rad=0.10000 |
| 328 | shapecode_3_ang=0.00000 |
| 329 | shapecode_3_tex_ang=0.00000 |
| 330 | shapecode_3_tex_zoom=1.00000 |
| 331 | shapecode_3_r=0.000 |
| 332 | shapecode_3_g=0.000 |
| 333 | shapecode_3_b=0.500 |
| 334 | shapecode_3_a=1.000 |
| 335 | shapecode_3_r2=0.000 |
| 336 | shapecode_3_g2=0.000 |
| 337 | shapecode_3_b2=0.500 |
| 338 | shapecode_3_a2=0.000 |
| 339 | shapecode_3_border_r=1.000 |
| 340 | shapecode_3_border_g=1.000 |
| 341 | shapecode_3_border_b=1.000 |
| 342 | shapecode_3_border_a=0.000 |
| 343 | shape_3_per_frame1=trans = int(rand(int(q1)))/15+instance-instance; |
| 344 | shape_3_per_frame2=trans2 = int(rand(int(q1)))/15+instance-instance; |
| 345 | shape_3_per_frame3=trans3 = int(rand(int(q1)))/15+instance-instance; |
| 346 | shape_3_per_frame4=a = trans; |
| 347 | shape_3_per_frame5= |
| 348 | shape_3_per_frame6=x = (sin(q23)+1.57)*.3 + int(rand(15))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 349 | shape_3_per_frame7=y = (cos(q23)+1.57)*.3 + int(rand(15))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 350 | shape_3_per_frame8=rad = .09 + int(rand(int(q1)))/15+instance-instance; |
| 351 | shape_3_per_frame9=r=int(rand(q1))*.1+instance-instance; |
| 352 | shape_3_per_frame10=g=int(rand(q1))*.1+instance-instance; |
| 353 | shape_3_per_frame11=b=int(rand(q1))*.1+instance-instance; |
| 354 | shape_3_per_frame12=r2=int(rand(q1))*.1+instance-instance; |
| 355 | shape_3_per_frame13=g2=int(rand(q1))*.1+instance-instance; |
| 356 | shape_3_per_frame14=b2=int(rand(q1))*.1+instance-instance; |
| 357 | shape_3_per_frame15=border_r=int(rand(q1))*.1+instance-instance; |
| 358 | shape_3_per_frame16=border_g=int(rand(q1))*.1+instance-instance; |
| 359 | shape_3_per_frame17=border_b=int(rand(q1))*.1+instance-instance; |
| 360 | shape_3_per_frame18= |
| 361 | per_frame_1=dec_med = pow (0.9, 30/fps); |
| 362 | per_frame_2=dec_slow = pow (0.99, 30/fps); |
| 363 | per_frame_3=beat = max (max (bass, mid), treb); |
| 364 | per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow); |
| 365 | per_frame_5=is_beat = above(beat, .4+avg+peak) * above (time, t0+.2); |
| 366 | per_frame_6=t0 = is_beat*time + (1-is_beat)*t0; |
| 367 | per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 368 | per_frame_8=index = (index + is_beat) %12; |
| 369 | per_frame_9=index2 = (index2 + is_beat*bnot(index))%4; |
| 370 | per_frame_10=index3 = (index3 + is_beat*bnot(index)*bnot(index2))%3; |
| 371 | per_frame_11= |
| 372 | per_frame_12=q20 = avg; |
| 373 | per_frame_13=q21 = beat; |
| 374 | per_frame_14=q22 = peak; |
| 375 | per_frame_15=q23 = index; |
| 376 | per_frame_16=q24 = is_beat; |
| 377 | per_frame_17=q26 = bass + mid + treb; |
| 378 | per_frame_18=q27 = index + 1; |
| 379 | per_frame_19=q28 = index2; |
| 380 | per_frame_20= |
| 381 | per_frame_21=k1 = is_beat*equal(index%2,0); |
| 382 | per_frame_22=p1 = k1*(p1+1) + (1-k1)*p1; |
| 383 | per_frame_23=p2 = dec_med * p2+ (1-dec_med)*p1; |
| 384 | per_frame_24=rott = p2 * 3.1416/4; |
| 385 | per_frame_25=q1 = cos(rott); |
| 386 | per_frame_26=q2 = sin(rott); |
| 387 | per_frame_27=q3 = -q2; |
| 388 | per_frame_28=q4 = q1; |
| 389 | per_frame_29= |
| 390 | per_frame_30=drot = (index%4-2) * 30/fps; |
| 391 | per_frame_31=p3 = p3*dec_slow + (1-dec_slow)*30/fps * drot; |
| 392 | per_frame_32=q30 = p3 ; |
| 393 | per_frame_33= |
| 394 | per_frame_34=stag = (q27+index2*1); |
| 395 | per_frame_35=stag = max(stag,1); |
| 396 | per_frame_36=p4 = dec_med*p4 + (1-dec_med)*stag; |
| 397 | per_frame_37=q31 = p4; |
| 398 | per_frame_38= |
| 399 | per_frame_39=zoom = 1 + .05*q1; |
| 400 | per_frame_40=rot = -0.007 * index; |
| 401 | per_frame_41= |
| 402 | per_frame_42=q32 = pow(0.996, 30/fps); //fade |
| 403 | per_frame_43= |
| 404 | per_frame_44=monitor = index2; |
| 405 | per_frame_45=q19=aspecty; |
| 406 | warp_1=`float buf2; |
| 407 | warp_2=`float2 uv1; |
| 408 | warp_3=` |
| 409 | warp_4=`float GetBuf(float num, float2 uvi) |
| 410 | warp_5=`{return dot(GetPixel(uvi), float3(num%2,(num+1)%2,0))-.5;} |
| 411 | warp_6=` |
| 412 | warp_7=`shader_body { |
| 413 | warp_8=` |
| 414 | warp_9=`float2 pix = texsize.zw*4; |
| 415 | warp_10=` |
| 416 | warp_11=`//noise dither |
| 417 | warp_12=`uv1 = uv + .001*(tex2D (sampler_noise_lq,uv*4+rand_frame)-.5); |
| 418 | warp_13=` |
| 419 | warp_14=`buf2 = (GetBuf(frame, uv1+pix*float2(1,0)) |
| 420 | warp_15=` +GetBuf(frame, uv1+pix*float2(0,1)) |
| 421 | warp_16=` +GetBuf(frame, uv1+pix*float2(-1,0)) |
| 422 | warp_17=` +GetBuf(frame, uv1+pix*float2(0,-1)))/2 - GetBuf(frame+1, uv1); |
| 423 | warp_18=`buf2 = buf2*.996+.5; |
| 424 | warp_19=` |
| 425 | warp_20=` |
| 426 | warp_21=`if (frame%2 == 0) |
| 427 | warp_22=`{ret.r = buf2; |
| 428 | warp_23=` ret.g = GetPixel(uv).g;} |
| 429 | warp_24=` |
| 430 | warp_25=`else |
| 431 | warp_26=`{ret.g = buf2; |
| 432 | warp_27=` ret.r = GetPixel(uv).r;} |
| 433 | warp_28=` |
| 434 | warp_29=`} |
| 435 | comp_1=` |
| 436 | comp_2=`sampler sampler_pw_noise_lq; |
| 437 | comp_3=`shader_body |
| 438 | comp_4=`{ |
| 439 | comp_5=` |
| 440 | comp_6=`float corr = texsize.xy*texsize_noise_hq.zw; |
| 441 | comp_7=`float2 p0 = .5 + float2(q1,q2); |
| 442 | comp_8=` |
| 443 | comp_9=`float2 uv1 = (uv-p0)*aspect.xy; |
| 444 | comp_10=`float ang1 = atan2(uv1.y, uv1.x); |
| 445 | comp_11=` |
| 446 | comp_12=`float rad2 = length(uv1); |
| 447 | comp_13=`float rad1 = -1*rad2 + 0.05/(rad2-0.08); |
| 448 | comp_14=` |
| 449 | comp_15=`float2 uv2 = float2 (ang1/6.28, clamp(rad1,-8, 8)); |
| 450 | comp_16=`uv2.y = uv2.y/2 + time/2; |
| 451 | comp_17=` |
| 452 | comp_18=`float3 tube = lum(tex2D(sampler_noise_hq, corr*uv2)); |
| 453 | comp_19=`//tube = sqrt(abs (tube-.8)); |
| 454 | comp_20=` |
| 455 | comp_21=` |
| 456 | comp_22=`float2 uv3 = uv + tube/64; |
| 457 | comp_23=`double3 blur = lum(GetBlur1 (uv3)); |
| 458 | comp_24=`double3 crisp =(GetPixel(uv3)); |
| 459 | comp_25=` |
| 460 | comp_26=`double3 ret2 = crisp + blur; |
| 461 | comp_27=` |
| 462 | comp_28=`double3 lblue = float3 (0.3, 0.5, 1)/3 *(1-rad); |
| 463 | comp_29=`ret2 = ret2 + lblue; |
| 464 | comp_30=` |
| 465 | comp_31=`ret = -1*tube*rad + (1+q24/4)*ret2 * (1-tube/2); |
| 466 | comp_32=`} |